/*
 * BarrierMovementEngine.hpp
 *
 *  Created on: 07-01-2011
 *      Author: Piotr
 */

#pragma once

/**
 * Gives next move vector based on given input parameters.
 */
class BarrierMovementEngine
{
	private:
		float angleChange;
		float speedFactor;

	public:
		void calculate(float massOnTheLeft, float massInTheCenter, float massOnTheRight,
				float maxAngleChange, float maxValue, float closestElementDistance);
		float getAngleChange() const;
		float getSpeedFactor() const;
};
